package com.zxy.ziems.server.monitor.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * @Copyright (C),
 * @ClassName: AlarmRuleAddParam
 * @Author: yanzhiwei
 * @Description:
 * @Date: 2024/4/10 16:43
 */
@Data
public class MonitorDeviceAddDTO {


    /**
     * 摄像头id
     */
    private List<String> deviceIds;

    /**
     * 分组id
     */
    @NotBlank(message = "监控分组ID不能为空", groups = {Update.class, Select.class})
    private String groupId;


    public interface Update {
    }

    public interface Select {
    }


}
